<script>
export default {
	name: 'Render',
	functional: true,
	props: {
		render: {
			type: Function,
			default: null
		},
		data: {
			default: null
		}
	},
	render(h, context) {
		const vnodes = []
		const _render = context.props.render
		if (_render) {
			vnodes.push(_render(h, context.props.data))
		}
		return vnodes
	}
}
</script>
